setOnCloseListener

Sets a listener to inform when the user closes the SearchView.

Parameters

listener

the listener to call when the user closes the SearchView.